<?php //pack11class

class ObjectCardMap extends Module {

    public $loader="";
    public $coordinates="";

    public function setup() {
        if(get_class($this->param)=="DekaroObject") {
            $this->coordinates=$this->param->mapdata;
        }
        if(SettingsManager::getSetting("userin")->value && !array_key_exists("preview",$_GET)) {
            $this->setID("ObjectCardAdminMap");
            $this->setClass("ObjectCardAdminMap");
        } else {
            $this->setID("ObjectCardMap");
        }
        $this->loader=LabelManager::getLabel("loading");
    }

}
?>
